﻿package hunterCommonlib.ui.window 
{
	import flash.display.DisplayObject;
	import flash.display.InteractiveObject;
	import flash.display.Sprite;
	import flash.text.TextField;
	import hunterCommonlib.ui.DragPanel;
	import hunterCommonlib.ui.Draw;
	import hunterCommonlib.ui.ico.Ico;
	
	/**
	 * ...
	 * @author ...
	 */
	public class Window extends DragPanel
	{
		public var title:InteractiveObject;
		public var bar:InteractiveObject;
		public var backGround:InteractiveObject;
		public function Window() 
		{
			super();
			initWindow();
		}
		protected function initWindow():void {
			if (backGround == null) {
				backGround = new DragPanel();
				DragPanel(backGround).addChild(Draw.drawRoundRect());
			}
			if (title == null) {
				title = new Sprite();
			}
		}
		public function setTitle():void {
			
		}
		public function setIco(ico:DisplayObject):void {
			
		}
	}
	
}